﻿namespace StyleCop.For.ReSharper.TestProject.Readability
{
    #region Using Directives

    using System.Collections.Generic;
    using System.Linq;

    #endregion

    internal class SA1110OpeningParenthesisMustBeOnDeclarationLine
    {
        #region Public Methods

        public string Method1()
        {
            var strings = new[] { "a", "b", "c", "d" };
            var s = from c in strings where c.StartsWith("a") select c;

            return this.Method2
                (s);
        }

        #endregion

        #region Methods

        private string Method2(IEnumerable<string> arg1)
        {
            return "a";
        }

        #endregion
    }
}